package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.risk;

import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.ProductModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.underwrite.InsuredModel;

/**
 * description:
 * 风险策略
 *
 * @author jackdaw
 * @date 2020-06-12 18:01
 */
public interface InsuranceRiskStrategy {
    /**
     * 校验产品风险
     *
     * @param product      产品（险种）
     * @param requestModel 受理报文保单信息
     * @return 校验结果
     */
    InsuredModel checkProductRiskQuota(ProductModel product, RequestModel requestModel);
}
